package client.dao.mapper;


import client.controller.param.DrawPrizesData;
import client.dao.dataObject.ActivityDO;
import client.server.dto.ActivityDto;
import client.server.enums.ActivityStatusEnum;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper {
    int insert(ActivityDto activity);

    List<ActivityDO> selectActivity();

    ActivityDto selectActivityById(Long activityId);

    void updateStatus(DrawPrizesData param, ActivityStatusEnum status);
}
